<% if @currVal.nil? or @currVal.getPrice().to_f < 0 %>
  <td colspan="3" align="left">Current value:</td>
  <td>...</td>
  <td>...</td>
  <td>...</td>
  <td>...</td>
  <td>&nbsp;</td>
<% else %>
  <td colspan="3" align="left">Current value (<%= @currVal.getDate() %>):</td>
  <td><%= sprintf("%0.2f", @currVal.getPrice()) %></td>
  <td><%= sprintf("%0.2f", @brokerage) %></td>
  <td><%= sprintf("%0.2f", @income) %></td>
  <td class="<%= totalColor  @total %>"><%= sprintf("%0.2f", @total) %></td>
  <td>&nbsp;</td>
<% end %>
